/*
 * Copyright 2010 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/* All pages */

body {
  font-family: arial, sans-serif;
  font-size: 12px;
  margin: 0 auto;
  width: 24em;
  max-width: 40em;
  padding: 0;
}

body.facebook {
  font-size: 10px;
  width: 200px;
  max-width: 200px;
}

h1 {
  margin-top: 0.5em;
  font-size: 14px;
}

h2 {
  text-transform: uppercase;
  font-size: 13px;
  margin: 2px 0 2px;
}

.header h1 {
  margin: 0;
}

h3, .header h1 {
  font-size: 13px;
  text-align: center;
}

body.facebook h3, body.facebook .header h1 {
  margin: 0 0 5px 0;
}

h3.sub_title {
  margin-top: -4px;
  margin-bottom: 6px;
}

body.facebook h3.sub_title {
  margin-bottom: 2px;
  padding: 0;
}

span.var {
  font-style: italic;
  color: green;
}

/* Language menu */

ul.languages {
  text-align: center;
  font-size: smaller;
  margin: 0 0 12px 0;
  padding: 0;
  list-style-type: none;
}

ul.languages li {
  display: inline;
  white-space: nowrap;
}

ul.languages li:first-child:before {
  content: "";
}

ul.languages li:before {
  content: "\00b7\00a0";
}

ul.languages .selected {
  font-weight: bold;
}

/* Forms */

form {
  margin: 0;
}

.mandatory {
  font-size: 12px;
  color: #f00;
  font-weight: bold;
}

.hint {
  font-weight: normal;
  color: #000;
  font-size: 12px;
}

/* Tables */

tr {
  vertical-align: baseline;
}

th, td {
  padding: 1px;
  text-align: left;
}

tr.columns {
  vertical-align: top;
}

table.person, table.note {
  border: 1px solid #000;
  margin-bottom: 1em;
}

table.fields {
  width: 24em;
}

table.person tr.photo {
  vertical-align: top;
}

tr.text, tr.description, tr.location, tr.other {
  vertical-align: top;
}

label {
  font-size: 11px;
  font-weight: bold;
}

.tracking {
  font-size: 9px;
  color: #888;
  text-align: right;
}

table.input td {
  white-space: nowrap;
}

textarea, input {
  font-family: arial, monospace;
  font-size: 12px;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
}

td.submit {
  text-align: left;
}

tr.address, tr.photo, tr.author, tr.location, tr.contact {
  background: #eff1f6;
}

/* Footer */

.disclaimer {
  margin: 0 0 1em 0;
  text-align: left;
  font-size: 10px;
  color: #888;
}

body.facebook .disclaimer {
  font-size: 8px;
}

.footer {
  margin: 1em auto;
  font-size: 10px;
  text-align: center;
}

body.facebook .footer {
  float: left;
}

body.facebook .footer a {
  display: block;
  text-align: left;
}

body.facebook .link-separator {
  display: none;
}

/* Error message and info message pages */

.error {
  color: #f00;
}

.deactivation {
  margin: 2em 1em;
}

/* Main page */

.main {
  font-size: 13px;
}

.main .instructions {
  text-align: left;
  font-size: 11px;
}

body.facebook .main .instructions {
  font-size: 10px;
  margin: 0;
  padding: 0;
}

.main .stats {
  text-align: center;
  font-size: 10px;
  color: #888;
}

.main .action {
  width: 9em;
  padding: 1em;
  border: 1px solid #abe;
  background: #bcf;
  font-weight: bold;
  text-align: center;
}

.main .action:first-child {
  border: 1px solid #ad9;
  background: #bea;
}

.custom-message {
  margin: 1em 0;
}

img {
  display: block;
  margin-left: auto;
  margin-right: auto 
}

/* Query page */

.query .label {
  text-align: right;
  width: 6em;
}

.results-found {
  background: lightGreen;
}

/* Embedding instructions */

div.embed pre {
  font-size: 80%;
  padding: 0.5em;
  background: #eee;
  border: 1px solid #ddd;
}
